﻿using Sunny.UI;

namespace CoreShop.App
{
    public partial class FReturning : UIForm
    {
        public FReturning()
        {
            InitializeComponent();
        }

        private void FReturning_Shown(object sender, System.EventArgs e)
        {
            UIReturnItem1 item1 = new UIReturnItem1();
            item1.DishName = "花蟹";
            item1.Number = "100(斤)";
            item1.SelectFlag = true;
            item1.Money = "￥13800";
            uiFlowLayoutPanel2.Add(item1);

            UIReturnItem2 item2 = new UIReturnItem2();
            item2.DishName = "特色田螺酿";
            item2.Number = "1";
            item2.RefundQuantity = "0";
            item2.Amount = "￥0";
            uiFlowLayoutPanel2.Add(item2);

            item1 = new UIReturnItem1();
            item1.DishName = "竹鼠";
            item1.Number = "100(斤)";
            item1.SelectFlag = false;
            item1.Money = "￥0";
            uiFlowLayoutPanel2.Add(item1);
        }

        private void uiButton10_Click(object sender, System.EventArgs e)
        {
            ((UIButton)sender).Selected = true;
        }

        private void uiButton23_Click(object sender, System.EventArgs e)
        {
            UIToolStripDropDown Discounts = new UIToolStripDropDown(new UIKeyboardItem());
            Discounts.Show(this, 0, Height - 228);
        }

        private void uiButton3_Click(object sender, System.EventArgs e)
        {
            this.Close();
        }
    }
}
